package com.kmxd.ams.client.archive;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kmxd.ams.client.archive.dto.ArchiveMetaFieldDetailAddDTO;
import com.kmxd.ams.client.archive.dto.ArchiveMetaFieldDetailEditDTO;
import com.kmxd.ams.client.archive.dto.ArchiveMetaFieldDetailQueryDTO;
import com.kmxd.ams.client.archive.vo.ArchiveMetaFieldDetailListVO;
import com.kmxd.ams.client.archive.vo.ArchiveMetaFieldDetailVO;
import com.kmxd.ams.infra.archive.entity.ArchiveMetaFieldDetail;
import java.util.List;

/**
 * 元数据对应明细 服务类
 *
 * @author nickbi
 * @since 2022-07-23
 */
public interface IArchiveMetaFieldDetailSvc extends IService<ArchiveMetaFieldDetail> {

  /**
   * 分页查询
   *
   * @param reqPage
   * @param req
   * @return
   */
  Page<ArchiveMetaFieldDetailListVO> selectPage(Page reqPage, ArchiveMetaFieldDetailQueryDTO req);

  /**
   * 查询列表
   *
   * @param req
   * @return
   */
  List<ArchiveMetaFieldDetailListVO> selectList(ArchiveMetaFieldDetailQueryDTO req);

  /**
   * 新增
   *
   * @param req
   */
  void add(ArchiveMetaFieldDetailAddDTO req);

  /**
   * 修改
   *
   * @param req
   */
  void edit(ArchiveMetaFieldDetailEditDTO req);

  /**
   * 删除
   *
   * @param ids
   */
  void remove(String ids);

  /**
   * 查看
   *
   * @param id
   * @return
   */
  ArchiveMetaFieldDetailVO view(Long id);
}
